package server;

import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

public class Coll {
    public static void main(String[] args) throws IOException {
        List<String> list = new ArrayList<>();
        String s = new String("kkk");
        System.out.println(list.size());
        list.add(s);
        System.out.println(list.size());
//        list.remove(s);
        System.out.println(list.size());
        DataInputStream dis = new DataInputStream(new FileInputStream(new File("C:/temp/123.txt")));
//        while(dis.available() > 0) {
//            System.out.println(dis.readUTF());
//        }
        System.out.println(list.toString());
        Calendar calendar = Calendar.getInstance();
        System.out.println("" + calendar.get(Calendar.YEAR) + calendar.get(Calendar.DAY_OF_YEAR));
    }
}
